#!/bin/bash
# Copyrignt (c) xuzeshui.com. All Rights Reserved.
# Author: Zeshui Xu<i@xuzeshui.com>
# Created Time: 2015-11-11 20:30:01
# Last Modified: 2015-11-15 17:42:37
# File Name: user-register-mobile.sh
# Description: 
source ./gl.sh
sign=`echo -n "ak${ak}appkey${appkey}time${reqTime}uid${uid}passport.app.doubimeizhi.com" | md5sum | awk '{print $1}'`

curl -v -d '{"old_password": "123456", "new_password": "aabbccdd"}' "http://${host}/v1/user/password/change?appkey=${appkey}&ak=${ak}&uid=${uid}&time=${reqTime}&sign=${sign}"
